package ooday01;
//学生类的测试类

public class StudentTest {
    public static void main(String[] args) {
       /* Student  zs= new Student();//声明Student类型引用zs指向一个学生对象
        zs.name="张三";
        zs.age=18;
        zs.className="jsb2023";
        zs.stuId="001";
        zs.say();
        zs.sayHi();
        zs.playWith("李四");




        Student lst=new Student();
        lst.name="刘思甜";
        lst.age=22;
        lst.className="sbb3800";
        lst.stuId="250sName";
        lst.say();
        lst.sayHi();
        lst.playWith("对象");




        Student ww =new Student();
        ww.say();
        ww.sayHi();
        ww.playWith("赵六");*/









        Student lst=new Student();
        lst.name="刘思甜";
        lst.age=22;
        lst.className="物联网1班";
        lst.sutId="20036";
        lst.say();
        lst.sayHi();
        lst.playWith("对象");




        Student lmh=new Student();

    }
}
